package com.scalar.chiptrack.commons;


public abstract class StringEnum
{
    private String mStringVal = null;

    public StringEnum( String val )
    {
        mStringVal = val;
    }

    public String getValue()
    {
    	return mStringVal;
    }
    
    public boolean equals( Object obj )
    {
        if( ( obj != null ) && ( mStringVal != null ) )
        {
            String strVal = ( String ) obj;
            if( strVal.equals( mStringVal ) )
            {
                return true;
            }
        }

        return false;
    }

    public String toString()
    {
        return mStringVal;
    }
}


